package org.example.inventory.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

@Builder
@TableName("t_inventory")
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class Inventory {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String skuId;
    private Long totalInventory;
    private Long lockInventory;
    private Long availableInventory;
}
